package com.henghai.zhenxuan.data.api;

import androidx.annotation.NonNull;

import com.hjq.http.config.IRequestApi;
import com.hjq.http.config.IRequestHost;

public class AppVersionApi implements IRequestApi, IRequestHost {
    private String api_token;
    private String type;

    public AppVersionApi() {
//        this.api_token = Const.AD.APPKeysMap.get(Const.AD.APPpackageVersion).ApiToken;
        this.type = "android";
    }

    @NonNull
    @Override
    public String getApi() {
        return "/com.henghai.zhenxuan";
    }

    @NonNull
    @Override
    public String getHost() {
        return "http://api.appmeta.cn/apps/latest";
    }
}
